import BinarySearchTree from './BinarySearchTree.js'

const bst = new BinarySearchTree()



bst.insert(16)
bst.insert(25)
bst.insert(14)
bst.insert(6)
bst.insert(33)
bst.insert(18)
bst.insert(31)
bst.insert(18)

window.bst = bst

//bst.inOrderMap(node => {console.log(node.key)})
//bst.preOrderMap(node => {console.log(node.key)})
bst.postOrderMap(node => { console.log(node.key)})
console.log(bst);